package com.zbkj.crmeb.chant.response;

import com.zbkj.crmeb.store.model.StoreProduct;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
@Accessors(chain = true)
@ApiModel("ChannelPartitionCouponResponse对象")
public class ChannelPartitionCouponResponse implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private Integer id;

    @ApiModelProperty("商户id")
    private Integer merId;

    @ApiModelProperty("瓜分券名称")
    private String partitionName;

    @ApiModelProperty("瓜分券总量")
    private Integer partitionTotalNumber;

    @ApiModelProperty("开始时间")
    private String startTime;

    @ApiModelProperty("结束时间")
    private String endTime;

    @ApiModelProperty("活动状态 1：未开始 2：进行中 3：已结束")
    private Integer status;

    @ApiModelProperty("瓜分人数")
    private Integer personNumber;

    @ApiModelProperty("瓜分金额")
    private BigDecimal partitionMoney;

    @ApiModelProperty("瓜分方式1：好友均分 2：拼手气")
    private Integer partitionType;

    @ApiModelProperty("适用商品1：全部 2：部分商品")
    private Integer useType;

    @ApiModelProperty("商品信息")
    private List<StoreProduct> storeProducts;

    @ApiModelProperty("用券时间（成功瓜分后多少天内可用）")
    private Integer useDay;

    @ApiModelProperty("使用次数1：不限次数 2：限制次数")
    private Integer useTime;

    @ApiModelProperty("限制使用次数")
    private Integer timeCondition;

    @ApiModelProperty("使用门槛1：是 ：否")
    private Boolean useCondition;

    @ApiModelProperty("满x元")
    private BigDecimal moneyCondition;

    @ApiModelProperty("使用说明")
    private String useDescription;

    @ApiModelProperty("瓜分数")
    private Integer partitionNumber;

    @ApiModelProperty("成团数")
    private Integer successNumber;

    @ApiModelProperty("瓜分成功人数")
    private Integer successPersonNumber;

    @ApiModelProperty("剩余库存")
    private Integer stock;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;
}
